package com.jhc.drone.communication.properties;

import com.jhc.drone.communication.enums.ProtocolEnum;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author lcp
 * @date 2025年01月2025/1/20 14:29
 * @describe
 */
@ConfigurationProperties(prefix = "mavlink")
@Component
@Data
public class ProtocolProperties {

    public ProtocolEnum protocol;

    public Boolean openRouter;

    public Integer routerLocalPort;

    public Integer routerGoalPort;

    public Integer qgcPort;

    public Integer port;

    public String serverAddress;

    public String qgcAddress;
}
